/*  1:   */ package tt.dz.web.controller;
/*  2:   */ 
/*  3:   */ import tt.dz.vo.ResponseModle;
/*  4:   */ 
/*  5:   */ public class BaseController
/*  6:   */ {
/*  7:   */   protected ResponseModle assemblyResponseData(boolean excuteFlag, Object data)
/*  8:   */   {
/*  9: 8 */     ResponseModle responseModle = null;
/* 10: 9 */     if (excuteFlag) {
/* 11:10 */       responseModle = new ResponseModle("success", data);
/* 12:   */     } else {
/* 13:12 */       responseModle = new ResponseModle("error", data);
/* 14:   */     }
/* 15:14 */     return responseModle;
/* 16:   */   }
/* 17:   */ }


/* Location:           F:\work\pengyu\mainServer\WEB-INF\classes\
 * Qualified Name:     tt.dz.web.controller.BaseController
 * JD-Core Version:    0.7.0.1
 */